<wxs module="dateFr" src="../../js/filter.wxs"></wxs>
<view wx:if='{{showFloat}}' id='floatView'>
	<div id='fl_note'>不可以投票了哦</div>
</view>
<view id='inv_page' wx:if='{{showList.listproblem[0].listoption}}'>
    <image id='banner' src="{{showList.url}}" />
    <image class='share1' src="{{urlAddress}}/inverstigation_v1.gif" />
    <button class="share2" bindtap="onShareAppMessage" open-type="share"></button>
    <view id='inv_view'>
        <view id='list_content'>
            <div wx:if='{{showList.listproblem[0].listoption}}' id="top_view">
                <label id="title">报名满二百，楼下约你见</label>
                <label id="time">{{dateFr.getNum(showList.startTime)}} - {{dateFr.getNum(showList.endTime)}}</label>
            </div>
            <view id='list_view' wx:if="{{!isCanSelect}}">
                <view class="list_style_a {{item.isSelect?'isSelect':'button_style'}}" wx:for='{{showList.listproblem[0].listoption}}'>
                    <label wx:if='{{item.isSelect}}' class="name">{{item.name}}</label>
                    <label wx:if='{{!item.isSelect}}' class="name1">{{item.name}}</label>
                    <label wx:if='{{item.isSelect}}' class="long_line" >
                        <span wx:if='{{!item.isFull}}' class="short_line" style="width: {{item.leng}}"></span>
                        <span wx:if='{{item.isFull}}' class="short_line1" style="width: {{item.leng}}"></span>
                        <p>{{item.memberNum}}人</p>
                        <p>{{item.expectNum}}人</p>
                    </label>

                    <label wx:if='{{!item.isSelect}}' class="long_line1" >
                        <span wx:if='{{!item.isFull}}' class="short_line" style="width: {{item.leng}}"></span>
                        <span wx:if='{{item.isFull}}' class="short_line1" style="width: {{item.leng}}"></span>
                        <p>{{item.memberNum}}人</p>
                        <p>{{item.expectNum}}人</p>
                    </label>
                    <button wx:if='{{item.isSelect}}'  data-name="{{item.name}}"  class="button_style1" bindtap="onShareAppMessage"  open-type="share" ></button>

                    <label wx:if='{{item.isSelect}}' class="{{item.isSelect?'isSelect':'button_style'}}">
                        <image   src="{{urlAddress}}/inverstigation_xin.png" />
                        <p >拉票</p>
                    </label>

                    <label wx:if='{{!item.isSelect}}' class="{{item.isSelect?'isSelect':'button_style'}}">
                        <image  src="{{urlAddress}}/inverstigation_xin.png" />
                        <p >投票</p>
                    </label>
                </view>
            </view>

             <view id='list_view' wx:if="{{isCanSelect}}">

                <view class="list_style_b {{item.isSelect?'isSelect':'button_style'}}" wx:for='{{showList.listproblem[0].listoption}}'>
                    <label class="name">{{item.name}}</label>
                    <label class="long_line" >
                        <span wx:if='{{!item.isFull}}' class="short_line" style="width: {{item.leng}}"></span>
                        <span wx:if='{{item.isFull}}' class="short_line1" style="width: {{item.leng}}"></span>
                        <p>{{item.memberNum}}人</p>
                        <p>{{item.expectNum}}人</p>
                    </label>
                    <button class="button_style1" data-code="{{item.id}}" data-pid='{{item.problemId}}' wx:if='{{isFirst}}' open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber"></button>

                    <button wx:if='{{item.isSelect}}'  data-name="{{item.name}}"  class="button_style1" bindtap="onShareAppMessage"  open-type="share" ></button>

                    <label wx:if='{{item.isSelect}}' class="{{item.isSelect?'isSelect':'button_style'}}">
                        <image   src="{{urlAddress}}/inverstigation_xin.png" />
                        <p >拉票</p>
                    </label>

                    <label wx:if='{{!item.isSelect}}' class="{{item.isSelect?'isSelect':'button_style'}}" bindtap='chooseAction' data-code="{{item.id}}" data-pid='{{item.problemId}}'>
                        <image data-pid='{{item.problemId}}' data-code="{{item.id}}" src="{{urlAddress}}/inverstigation_xin.png" />
                        <p data-pid='{{item.problemId}}' data-code="{{item.id}}">投票</p>
                    </label>
                </view>
            </view>
        </view>
        <view id='bottom_view' wx:if='{{showList.listproblem[0].listoption}}'>
            <label>活动结束后,会陆续为您发放现金券!</label>
            <label>小麦铺是中国领先的智能移动餐饮公司</label>
            <label>目前已在北京、天津、深圳、烟台、廊坊等近十个城市开通厨房服务</label>
        </view>
    </view>
</view>